<template>
	<view class="mainpadding2">
		<view class="" style="padding-bottom: 120rpx;">
			<view class="item mainpadding_top" v-for="item in 10">
				<view class="bold hei_text" style="font-size: 50rpx;">238 3288 2388 2388</view>
				<view class="flexbetween margin_top2">
					<view class="flexleft">
						<view class="main_size bold hei_text margin_right1">建设银行</view>
						<view class="main_size bold huang_text">梨花</view>
					</view>
					<view class="shanchu"></view>
				</view>
			</view>
		</view>
		<view class="posibottom mainpadding" style="bottom: 0;">
			<view class="submitbtn" @click="tianjiayhk">添加银2行卡</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list: {
					data: []
				}
			}
		},
		onShow() {
			this.init()
		},
		methods: {
			init() {
				this.http.request('/api/member/listBanke', 'POST', {}).then(res => {
					if (res.code == 1) {
						this.list.data = res.data
					} else {
						this.http.toast(res.msg)
					}
				})
			},
			tianjiayhk() {
				uni.navigateTo({
					url: '/pages_mine/addBankcard'
				})
			},
		}
	}
</script>

<style lang="scss" scoped>
	.item {
		border: 1rpx solid #FFE195;
		border-radius: 20rpx;
	}

	.shanchu {
		width: 50rpx;
		height: 50rpx;
		background-image: url("@/static/images/mine/shanchu.png");
		background-size: 100% 100%;
	}

	.posibottom {
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
	}
</style>